<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台首页</title>
<link href="../style/css_member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>

<style type="text/css">
.list{float: left;margin-right:15px;padding-bottom: 20px;}
.item {border: 1px solid #c0c0c0; width: 210px; height: 250px;}
.pic{position: relative;width: 185px;height: 225px;background: center center;margin-top: 12px;margin-left: 12px;}
.pic a{display:block;width: 185px;height: 225px;}
.row   {clear:both;padding-left: 15px;}	

.soldState{position: absolute;top: -5px;left: -15px}
</style>

</head>

<body>
<!-- 页面头 -->
<jsp:include page="/commons/head_member.jsp"></jsp:include>

<div style="overflow:hidden;clear:both;border: 1px solid #ccc;margin: 0 auto;background: #fff;font-family: 宋体;font-size: 12px;width: 962px;">
<div style="float: left;width: 700px; border: 1px solid #ccc;border-width: 0px 1px 0px 0px">
	<div style="color: red;font-weight: bolder;padding: 20px 0px 0px 15px;">新增商户</div>
	<ul style="width: 685px;overflow: hidden;padding: 10px 0px 0px 15px;">
			<c:forEach var="user" items="${requestScope.userList}" varStatus="status">
					 <li style="float: left;width: 171px;height: 26px">${user.username }(${user.roleName })</li>
			</c:forEach>
	</ul>
	<div style="color: red;font-weight: bolder;padding: 10px 0px 10px 15px;">新添艺术品</div>
	<div style="width: 700px;overflow: hidden;">
		<c:forEach items="${requestScope.paintingListOfGallery}" var="result" varStatus="status">
				<%-- 作品列表 片段  begin  --%>
				 	<c:if test="${ status.count mod 3 == 1}"><div class="row"></c:if>
				 	   <div class="list">
					 		<div class="item">
							      <div style="background-image: url('${result.middleImageApath }');" class="pic">
				                   	<a href="${ctx}/front/backgroundAction!showDetail.do?id=${result.id }" target="_blank"></a>
					                   	<%--<div class="soldState">
												<c:if test="${result.soldFlag == 2}"><img src="../images/tstb3.png" width="69" height="32"></c:if>
												<c:if test="${result.soldFlag == 3}"><img src="../images/tstb4.png" width="69" height="32"></c:if>
										</div>
										--%>
				                  </div>
				           </div>
			          </div>
				 	<c:if test="${ status.last or  status.count mod 3 == 0}"></div></c:if>
			<%-- 作品列表 片段  end  --%>
		</c:forEach>
	</div>
</div>

<div style="float: left;width: 258px;">
	<div style="padding-left: 20px"><img src ="../images/zy.jpg" width="240" height="163" border="0"/></div>
	<div style="padding-left: 20px"><img src ="../images/gn.jpg" width="236" height="211" border="0"/></div>
</div>
<div style="clear: both;"></div> 

<jsp:include page="/commons/foot_member.jsp"></jsp:include>
</body>
</html>

